ibm.techexplorer
Class techexplorer

java.lang.Object
  |
  +--netscape.plugin.Plugin
        |
        +--ibm.techexplorer.techexplorer
Direct Known Subclasses:
techexplorerControl, techexplorerPlugin

public abstract class techexplorer
extends netscape.plugin.Plugin

Description

The techexplorer techexplorer reflection class provides a standard interface between Java applets, JavaScript, HTML Elements and the IBM techexplorer Hypermedia Browser. The techexplorer class exposes several public methods that allow JavaScript and Java applets to access techexplorer's functionality. Furthermore, Java applets can register themselves as techexplorer event listeners. techexplorer event listeners are interfaces implemented by a Java class that are used by techexplorer to notify Java applets of registered events.

See Also:
ibm.techexplorer.techexplorerListener, InstanceListener, MouseListener, MouseMotionListener, KeyListener, FocusListener

Field Summary
static int ADDIN_ERROR_AVAILABLE
          Add-in status code indicating that requested add-in is not available.
static int ADDIN_ERROR_DESTROY
          Add-in status code indicating that.
static int ADDIN_ERROR_LOAD
          Add-in status code indicating that requested add-in dll can not be dynamically loaded.
static int ADDIN_ERROR_NEW
          Add-in status code indicating that.
static int ADDIN_FAIL
          Add-in status code indicating general failure.
static int ADDIN_SUCCESS
          Add-in status code indicating method invocation success.
 
Constructor Summary
techexplorer()
           
 
Method Summary
abstract  boolean addFocusListener(FocusListener listener)
          Register a focus listener with techexplorer.
abstract  java.lang.String addInBlockingEvaluate(java.lang.String mimeType, java.lang.String appInput)
          Invoke the AddInBlockingEvaluate function of a techexplorer add-in.
abstract  java.lang.String addInBlockingEvaluateInstance(int addInID, java.lang.String mimeType, java.lang.String appInput)
          Invoke the AddInBlockingEvaluate function of a techexplorer add-in.
abstract  int addInDestroyInstance(int addInID)
          Destroy an instance of a techexplorer add-in.
abstract  int addInEvaluate(java.lang.String mimeType, java.lang.String appInput)
          Invoke the AddInEvaluate function of a techexplorer add-in.
abstract  int addInEvaluateInstance(int addInID, java.lang.String mimeType, java.lang.String appInput)
          Invoke the AddInEvaluate function of a techexplorer add-in.
abstract  int addInInitialize(java.lang.String mimeType)
          Start/Initialize a techexplorer add-in if the corresponding add-in is not already active.
abstract  int addInNewInstance(java.lang.String sMimeType)
          Create an instance of a techexplorer add-in.
abstract  int addInShutdown(java.lang.String mimeType)
          Shutdown/Destroy a techexplorer add-in.
abstract  boolean addInstanceListener(InstanceListener listener)
          Register an instance listener with techexplorer.
abstract  boolean addKeyListener(KeyListener listener)
          Register a key listener with techexplorer.
abstract  boolean addMouseListener(MouseListener listener)
          Register a mouse listener with techexplorer.
abstract  boolean addMouseMotionListener(MouseMotionListener listener)
          Register a mouse motion listener with techexplorer.
abstract  boolean addtechexplorerListener(techexplorerListener listener)
          Register a techexplorer listener with techexplorer.
abstract  java.lang.String ATgetName(int attribute)
           
abstract  int ATgetSpecified(int attribute)
           
abstract  java.lang.String ATgetValue(int attribute)
           
abstract  int ATsetValue(int attribute, java.lang.String value)
           
abstract  int CDappendData(int node, java.lang.String arg)
           
abstract  int CDdeleteData(int node, int offset, int count)
           
abstract  java.lang.String CDgetData(int node)
           
abstract  int CDgetLength(int node)
           
abstract  int CDinsertData(int node, int offset, java.lang.String arg)
           
abstract  int CDreplaceData(int node, int offset, int count, java.lang.String arg)
           
abstract  int CDsetData(int node, java.lang.String data)
           
abstract  java.lang.String CDsubstringData(int node, int offset, int count)
           
abstract  java.lang.String convertMMLtoTeX()
          Convert the document from MathML source to TeX.
abstract  java.lang.String convertTeXtoMML()
          Convert the document from TeX source to MathML and mark any unconvertable TeX as an UNKOWN MathML item.
abstract  int DIgetDocumentNode(int node)
           
abstract  int DIhasFeature(int node, java.lang.String name, java.lang.String version)
           
abstract  void disableEvents(int eventsToDisable)
          Disables the events defined by the specified event mask parameter from being delivered to a particular techexplorer instance.
abstract  int DOcreateAttribute(int node, java.lang.String name)
           
abstract  int DOcreateCDATASection(int node, java.lang.String data)
           
abstract  int DOcreateComment(int node, java.lang.String data)
           
abstract  int DOcreateDocumentFragment(int node)
           
abstract  int DOcreateElement(int node, java.lang.String tagName)
           
abstract  int DOcreateEntityReference(int node, java.lang.String name)
           
abstract  int DOcreateProcessingInstruction(int node, java.lang.String target, java.lang.String data)
           
abstract  int DOcreateTextNode(int node, java.lang.String data)
           
abstract  int DOgetDoctype(int node)
           
abstract  int DOgetDocumentElement(int node)
           
abstract  int DOgetElementsByTagName(int node, java.lang.String tagname)
           
abstract  int DOgetImplementation(int node)
           
abstract  int DTgetEntities(int node)
           
abstract  java.lang.String DTgetName(int node)
           
abstract  int DTgetNotations(int node)
           
abstract  java.lang.String ELgetAttribute(int node, java.lang.String name)
           
abstract  int ELgetAttributeNode(int node, java.lang.String name)
           
abstract  int ELgetElementsByTagName(int node, java.lang.String name)
           
abstract  java.lang.String ELgetTagName(int node)
           
abstract  int ELnormalize(int node)
           
abstract  int ELremoveAttribute(int node, java.lang.String name)
           
abstract  int ELremoveAttributeNode(int node, int oldAttr)
           
abstract  int ELsetAttribute(int node, java.lang.String name, java.lang.String value)
           
abstract  int ELsetAttributeNode(int node, int newAttr)
           
abstract  void enableEvents(int eventsToEnable)
          Enables the events defined by the specified event mask parameter to be delivered to a particular techexplorer instance.
abstract  java.lang.String ENgetNotationName(int node)
           
abstract  java.lang.String ENgetPublicId(int node)
           
abstract  java.lang.String ENgetSystemId(int node)
           
abstract  void focusGained(java.lang.String sDocumentName, java.lang.String sListenerClass, java.lang.String sObjectName)
           
abstract  void focusLost(java.lang.String sDocumentName, java.lang.String sListenerClass, java.lang.String sObjectName)
           
abstract  void gc()
          Garbage collection for any non-java objects.
abstract  int getDepthFromMMLString(java.lang.String mmlSource)
          Retrieve the document depth from the supplied MathML source.
abstract  int getDepthFromTeXString(java.lang.String texSource)
          Retrieve the document depth from the supplied TeX source.
abstract  Document getDocumentNode()
           
abstract  int getHeightFromMMLString(java.lang.String mmlSource)
          Retrieve the document height from the supplied MathML source.
abstract  int getHeightFromTeXString(java.lang.String texSource)
          Retrieve the document height from the supplied TeX source.
abstract  int getHeightFromTeXStringAndWidth(java.lang.String texSource, int width)
          Retrieve the document height from the supplied TeX source and document width.
abstract  java.lang.String getMMLString()
          Note: getMMLString() is deprecated. As of techexplorer 3.0, use printMMLInput to retrieve the TeX source or use convertTeXtoMML to convert TeX to MathML.
abstract  java.lang.String getTeXString()
          Note: getTeXString() is deprecated. As of techexplorer 3.0, use printTeXInput to retrieve the TeX source or use convertMMLtoTeX to convert MathML to TeX.
abstract  int getWidthFromMMLString(java.lang.String mmlSource)
          Retrieve the document width from the supplied MathML source.
abstract  int getWidthFromTeXString(java.lang.String texSource)
          Retrieve the document width from the supplied TeX source.
abstract  void instanceDelete(java.lang.String sDocumentName, java.lang.String sListenerClass, java.lang.String sObjectName)
           
abstract  boolean isReady()
          Retrieves the readiness of the techexplorer instance for java calls.
abstract  void keyPressed(java.lang.String sDocumentName, java.lang.String sListenerClass, java.lang.String sObjectName, int nModifiers, int nKeyCode)
           
abstract  void keyReleased(java.lang.String sDocumentName, java.lang.String sListenerClass, java.lang.String sObjectName, int nModifiers, int nKeyCode)
           
abstract  void keyTyped(java.lang.String sDocumentName, java.lang.String sListenerClass, java.lang.String sObjectName, int nModifiers, int nKeyCode)
           
abstract  void mouseClicked(java.lang.String sDocumentName, java.lang.String sListenerClass, java.lang.String sObjectName, int nFlags, int x, int y, int nCount, int nodPathList, int nodSelectionList)
           
abstract  void mouseDragged(java.lang.String sDocumentName, java.lang.String sListenerClass, java.lang.String sObjectName, int nFlags, int x, int y, int nCount, int nodPathList, int nodSelectionList)
           
abstract  void mouseEntered(java.lang.String sDocumentName, java.lang.String sListenerClass, java.lang.String sObjectName, int nFlags, int x, int y, int nCount, int nodPathList, int nodSelectionList)
           
abstract  void mouseExited(java.lang.String sDocumentName, java.lang.String sListenerClass, java.lang.String sObjectName, int nFlags, int x, int y, int nCount, int nodPathList, int nodSelectionList)
           
abstract  void mouseMoved(java.lang.String sDocumentName, java.lang.String sListenerClass, java.lang.String sObjectName, int nFlags, int x, int y, int nCount, int nodPathList, int nodSelectionList)
           
abstract  void mousePressed(java.lang.String sDocumentName, java.lang.String sListenerClass, java.lang.String sObjectName, int nFlags, int x, int y, int nCount, int nodPathList, int nodSelectionList)
           
abstract  void mouseRelease(java.lang.String sDocumentName, java.lang.String sListenerClass, java.lang.String sObjectName, int nFlags, int x, int y, int nCount, int nodPathList, int nodSelectionList)
           
abstract  int NLgetLength(int nodeList)
           
abstract  int NLitem(int nodeList, int index)
           
abstract  int NNgetLength(int namedNodeMap)
           
abstract  int NNgetNamedItem(int namedNodeMap, java.lang.String name)
           
abstract  int NNitem(int namedNodeMap, int index)
           
abstract  int NNremoveNamedItem(int namedNodeMap, java.lang.String name)
           
abstract  int NNsetNamedItem(int namedNodeMap, int arg)
           
abstract  int NOappendChild(int node, int newChild)
           
abstract  int NOcloneNode(int node, int deep)
           
abstract  int NOgetAttributes(int node)
           
abstract  int NOgetChildNodes(int node)
           
abstract  int NOgetFirstChild(int node)
           
abstract  int NOgetLastChild(int node)
           
abstract  int NOgetNextSibling(int node)
           
abstract  java.lang.String NOgetNodeName(int node)
           
abstract  int NOgetNodeType(int node)
           
abstract  java.lang.String NOgetNodeValue(int node)
           
abstract  int NOgetOwnerDocument(int node)
           
abstract  int NOgetParentNode(int node)
           
abstract  int NOgetPreviousSibling(int node)
           
abstract  java.lang.String NOgetPublicId(int node)
           
abstract  java.lang.String NOgetSystemId(int node)
           
abstract  int NOhasChildNodes(int node)
           
abstract  int NOinsertBefore(int node, int newChild, int refChild)
           
abstract  int NOremoveChild(int node, int oldChild)
           
abstract  int NOreplaceChild(int node, int newChild, int oldChild)
           
abstract  int NOsetNodeValue(int node, java.lang.String arg)
           
abstract  java.lang.String PIgetData(int node)
           
abstract  java.lang.String PIgetTarget(int node)
           
abstract  int PIsetData(int node, java.lang.String arg)
           
abstract  java.lang.String printMMLInput()
          Retrieve the document MathML source.
abstract  java.lang.String printTeXInput()
          Retrieve the document TeX source.
abstract  void reloadFromMMLString(java.lang.String mmlSource)
          Replace the document with the supplied MathML source.
abstract  void reloadFromTeXString(java.lang.String texSource)
          Replace the document with the supplied TeX source.
abstract  boolean removeFocusListener(FocusListener listener)
          Remove a focus listener from the list of techexplorer listeners.
abstract  boolean removeInstanceListener(InstanceListener listener)
          Remove an instance listener from the list of techexplorer listeners.
abstract  boolean removeKeyListener(KeyListener listener)
          Remove a key listener from the list of techexplorer listeners.
abstract  boolean removeMouseListener(MouseListener listener)
          Remove a mouse listener from the list of techexplorer listeners.
abstract  boolean removeMouseMotionListener(MouseMotionListener listener)
          Remove a mouse motion listener from the list of techexplorer listeners.
abstract  boolean removetechexplorerListener(techexplorerListener listener)
          Remove a techexplorer listener from the list of techexplorer listeners.
abstract  void setFocusListenerCount(int nCount)
          Not intended for external use.
abstract  void setInstanceListenerCount(int nCount)
          Not intended for external use.
abstract  void setKeyListenerCount(int nCount)
          Not intended for external use.
abstract  void setMouseListenerCount(int nCount)
          Not intended for external use.
abstract  void setMouseMotionListenerCount(int nCount)
          Not intended for external use.
abstract  void setTechExplListenerCount(int nCount)
          Not intended for external use.
abstract  java.lang.String TEconvertMMLtoTeX(int node, int targetNode)
           
abstract  java.lang.String TEconvertTeXtoMML(int node, int targetNode)
           
abstract  int TEcreateFromMmlString(int node, java.lang.String data)
           
abstract  int TEcreateFromTexString(int node, java.lang.String data)
           
abstract  int TEcreateFromXmlString(int node, java.lang.String data)
           
abstract  java.lang.String TEgetMmlString(int node, int targetNode)
           
abstract  java.lang.String TEgetTexString(int node, int targetNode)
           
abstract  java.lang.String TEgetXmlString(int node, int targetNode)
           
abstract  int TEinvalidate(int node)
           
abstract  java.lang.String TEprintMMLInput(int node, int targetNode)
           
abstract  java.lang.String TEprintTeXInput(int node, int targetNode)
           
abstract  int TErecomposeAndRedraw(int node)
           
abstract  int TErecomposeAndRedrawNode(int node, int targetNode)
           
abstract  int TEscrollToNode(int node, int targetNode)
           
abstract  int TXsplitText(int node, int offset)
           
abstract  void writeStringToFile(java.lang.String fileName, java.lang.String outString)
          Not intended for external use.
 
Methods inherited from class netscape.plugin.Plugin
destroy, getPeer, getWindow, init, isActive
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ADDIN_SUCCESS

public static final int ADDIN_SUCCESS
Add-in status code indicating method invocation success.

ADDIN_FAIL

public static final int ADDIN_FAIL
Add-in status code indicating general failure.

ADDIN_ERROR_AVAILABLE

public static final int ADDIN_ERROR_AVAILABLE
Add-in status code indicating that requested add-in is not available.

ADDIN_ERROR_LOAD

public static final int ADDIN_ERROR_LOAD
Add-in status code indicating that requested add-in dll can not be dynamically loaded.

ADDIN_ERROR_NEW

public static final int ADDIN_ERROR_NEW
Add-in status code indicating that.

ADDIN_ERROR_DESTROY

public static final int ADDIN_ERROR_DESTROY
Add-in status code indicating that.
Constructor Detail

techexplorer

public techexplorer()
Method Detail

addtechexplorerListener

public abstract boolean addtechexplorerListener(techexplorerListener listener)
Register a techexplorer listener with techexplorer. techexplorer listeners receive all possible events generated by techexplorer instances. techexplorer manages a unique list of listeners and will ignore duplicate entries and null listeners.
Parameters:
listener - Handle to the techexplorer listener to add.
Returns:
true if listener has been successfully added; false otherwise.

addMouseListener

public abstract boolean addMouseListener(MouseListener listener)
Register a mouse listener with techexplorer. Mouse events are fired when a mouse button has been pressed or released or when the mouse enters or exits a techexplorer instance. After this method is called, the mouse listener will receive mouse events fired by techexplorer. techexplorer manages a unique list of listeners and will ignore duplicate entries and null listeners.
Parameters:
listener - Handle to the mouse listener to add.
Returns:
true if listener has been successfully added; false otherwise.

addMouseMotionListener

public abstract boolean addMouseMotionListener(MouseMotionListener listener)
Register a mouse motion listener with techexplorer. Mouse motion events are fired when a mouse is dragged or moved on a techexplorer instance. After this method is called, the mouse listener will receive mouse motion events fired by techexplorer. techexplorer manages a unique list of listeners and will ignore duplicate entries and null listeners.
Parameters:
listener - Handle to the mouse motion listener to add.
Returns:
true if listener has been successfully added; false otherwise.

addKeyListener

public abstract boolean addKeyListener(KeyListener listener)
Register a key listener with techexplorer. Key events are fired when a key has been pressed or released on a techexplorer instance. After this method is called, the key listener will receive key events fired by techexplorer. techexplorer manages a unique list of listeners and will ignore duplicate entries and null listeners.
Parameters:
listener - Handle to the key listener to add.
Returns:
true if listener has been successfully added; false otherwise.

addFocusListener

public abstract boolean addFocusListener(FocusListener listener)
Register a focus listener with techexplorer. Focus events are fired when a techexplorer instance has either gained or lost focus. After this method is called, the focus listener will receive focus events fired by techexplorer. techexplorer manages a unique list of listeners and will ignore duplicate entries and null listeners.
Parameters:
listener - Handle to the focus listener to add.
Returns:
true if listener has been successfully added; false otherwise.

addInstanceListener

public abstract boolean addInstanceListener(InstanceListener listener)
Register an instance listener with techexplorer. Instance events are fired when the techexplorer plug-in is initialized, shutdown and a new techexplorer instances is created or destroyed. After this method is called, the instance listener will receive instance events fired by techexplorer. techexplorer manages a unique list of listeners and will ignore duplicate entries and null listeners.
Parameters:
listener - Handle to the instance listener to add.
Returns:
true if listener has been successfully added; false otherwise.

removetechexplorerListener

public abstract boolean removetechexplorerListener(techexplorerListener listener)
Remove a techexplorer listener from the list of techexplorer listeners. After this method is called, the techexplorer listener will no longer receive any events fired by techexplorer.
Parameters:
listener - Handle to the techexplorer listener to remove.
Returns:
true if listener has been successfully removed; false otherwise.

removeMouseListener

public abstract boolean removeMouseListener(MouseListener listener)
Remove a mouse listener from the list of techexplorer listeners. After this method is called, the mouse listener will no longer receive mouse events fired by techexplorer.
Parameters:
listener - Handle to the mouse listener to remove.
Returns:
true if listener has been successfully removed; false otherwise.

removeMouseMotionListener

public abstract boolean removeMouseMotionListener(MouseMotionListener listener)
Remove a mouse motion listener from the list of techexplorer listeners. After this method is called, the mouse motion listener will no longer receive mouse events fired by techexplorer.
Parameters:
listener - Handle to the mouse motion listener to remove.
Returns:
true if listener has been successfully removed; false otherwise.

removeKeyListener

public abstract boolean removeKeyListener(KeyListener listener)
Remove a key listener from the list of techexplorer listeners. After this method is called, the key listener will no longer receive key events fired by techexplorer.
Parameters:
listener - Handle to the key listener to remove.
Returns:
true if listener has been successfully removed; false otherwise.

removeFocusListener

public abstract boolean removeFocusListener(FocusListener listener)
Remove a focus listener from the list of techexplorer listeners. After this method is called, the focus listener will no longer receive focus events fired by techexplorer.
Parameters:
listener - Handle to the focus listener to remove.
Returns:
true if listener has been successfully removed; false otherwise.

removeInstanceListener

public abstract boolean removeInstanceListener(InstanceListener listener)
Remove an instance listener from the list of techexplorer listeners. After this method is called, the instance listener will no longer receive instance events fired by techexplorer.
Parameters:
listener - Handle to the instance listener to remove.
Returns:
true if listener has been successfully removed; false otherwise.

isReady

public abstract boolean isReady()
Retrieves the readiness of the techexplorer instance for java calls.
Returns:
true if techexplorer is ready for java call

disableEvents

public abstract void disableEvents(int eventsToDisable)
Disables the events defined by the specified event mask parameter from being delivered to a particular techexplorer instance.
Parameters:
eventsToDisable - The event mask defining the event types

enableEvents

public abstract void enableEvents(int eventsToEnable)
Enables the events defined by the specified event mask parameter to be delivered to a particular techexplorer instance.
Parameters:
eventsToEnable - The event mask defining the event types

getTeXString

public abstract java.lang.String getTeXString()
Note: getTeXString() is deprecated. As of techexplorer 3.0, use printTeXInput to retrieve the TeX source or use convertMMLtoTeX to convert MathML to TeX.
Returns:
converted TeX source in form of a string.

getMMLString

public abstract java.lang.String getMMLString()
Note: getMMLString() is deprecated. As of techexplorer 3.0, use printMMLInput to retrieve the TeX source or use convertTeXtoMML to convert TeX to MathML.
Returns:
converted MathML source in form of a string.

printTeXInput

public abstract java.lang.String printTeXInput()
Retrieve the document TeX source.
Returns:
Document TeX source in form of a string.

printMMLInput

public abstract java.lang.String printMMLInput()
Retrieve the document MathML source.
Returns:
Document MathML source in form of a string.

convertTeXtoMML

public abstract java.lang.String convertTeXtoMML()
Convert the document from TeX source to MathML and mark any unconvertable TeX as an UNKOWN MathML item.
Returns:
converted MathML source in form of a string.

convertMMLtoTeX

public abstract java.lang.String convertMMLtoTeX()
Convert the document from MathML source to TeX.
Returns:
converted TeX source in form of a string.

reloadFromTeXString

public abstract void reloadFromTeXString(java.lang.String texSource)
Replace the document with the supplied TeX source.
Parameters:
texSource - Document TeX source in form of a string.

reloadFromMMLString

public abstract void reloadFromMMLString(java.lang.String mmlSource)
Replace the document with the supplied MathML source.
Parameters:
mmlSource - Document MathML source in form of a string.

getWidthFromMMLString

public abstract int getWidthFromMMLString(java.lang.String mmlSource)
Retrieve the document width from the supplied MathML source.
Returns:
Width of the MathML Document.

getHeightFromMMLString

public abstract int getHeightFromMMLString(java.lang.String mmlSource)
Retrieve the document height from the supplied MathML source.
Returns:
Height of the MathML Document.

getDepthFromMMLString

public abstract int getDepthFromMMLString(java.lang.String mmlSource)
Retrieve the document depth from the supplied MathML source.
Returns:
Depth of the MathML Document.

getWidthFromTeXString

public abstract int getWidthFromTeXString(java.lang.String texSource)
Retrieve the document width from the supplied TeX source.
Returns:
Width of the TeX Document.

getHeightFromTeXString

public abstract int getHeightFromTeXString(java.lang.String texSource)
Retrieve the document height from the supplied TeX source.
Returns:
Height of the TeX Document.

getDepthFromTeXString

public abstract int getDepthFromTeXString(java.lang.String texSource)
Retrieve the document depth from the supplied TeX source.
Returns:
Depth of the TeX Document.

getHeightFromTeXStringAndWidth

public abstract int getHeightFromTeXStringAndWidth(java.lang.String texSource,
                                                   int width)
Retrieve the document height from the supplied TeX source and document width.
Returns:
Height of the TeX Document.

writeStringToFile

public abstract void writeStringToFile(java.lang.String fileName,
                                       java.lang.String outString)
Not intended for external use.

addInInitialize

public abstract int addInInitialize(java.lang.String mimeType)
Start/Initialize a techexplorer add-in if the corresponding add-in is not already active.
Parameters:
mimeType - add-in MIME type identifier.

addInShutdown

public abstract int addInShutdown(java.lang.String mimeType)
Shutdown/Destroy a techexplorer add-in.
Parameters:
mimeType - add-in MIME type identifier.

addInEvaluate

public abstract int addInEvaluate(java.lang.String mimeType,
                                  java.lang.String appInput)
Invoke the AddInEvaluate function of a techexplorer add-in. Since this evaluation function does not require a techexplorerAddIn instance, the result can not be returned asynchronously. Use this function for one-way add-in communication.
Parameters:
mimeType - add-in MIME type identifier.
appInput - Application specific input to be evaluated.

addInBlockingEvaluate

public abstract java.lang.String addInBlockingEvaluate(java.lang.String mimeType,
                                                       java.lang.String appInput)
Invoke the AddInBlockingEvaluate function of a techexplorer add-in. Since the result of the evaluation is returned, the calling function will block until the evaluation is complete. Use this function for bi-directional synchronous add-in communication.
Parameters:
mimeType - add-in MIME type identifier.
appInput - Application specific input to be evaluated.

addInEvaluateInstance

public abstract int addInEvaluateInstance(int addInID,
                                          java.lang.String mimeType,
                                          java.lang.String appInput)
Invoke the AddInEvaluate function of a techexplorer add-in.
Parameters:
mimeType - add-in MIME type identifier.
appInput - Application specific input to be evaluated.

addInBlockingEvaluateInstance

public abstract java.lang.String addInBlockingEvaluateInstance(int addInID,
                                                               java.lang.String mimeType,
                                                               java.lang.String appInput)
Invoke the AddInBlockingEvaluate function of a techexplorer add-in.
Parameters:
mimeType - add-in MIME type identifier.
appInput - Application specific input to be evaluated.

addInNewInstance

public abstract int addInNewInstance(java.lang.String sMimeType)
Create an instance of a techexplorer add-in.
Parameters:
sMimeType - add-in MIME type identifier
Returns:
an add-in handel if the instance has been successfully created; JAVA_ADDIN_ERROR_NEW otherwise.

addInDestroyInstance

public abstract int addInDestroyInstance(int addInID)
Destroy an instance of a techexplorer add-in.
Parameters:
sMimeType - add-in MIME type identifier
Returns:
 

gc

public abstract void gc()
Garbage collection for any non-java objects. You must call this in before the end of any cross-browser applet.
Parameters:
void -  
Returns:
void

setTechExplListenerCount

public abstract void setTechExplListenerCount(int nCount)
Not intended for external use.

setInstanceListenerCount

public abstract void setInstanceListenerCount(int nCount)
Not intended for external use.

setMouseListenerCount

public abstract void setMouseListenerCount(int nCount)
Not intended for external use.

setMouseMotionListenerCount

public abstract void setMouseMotionListenerCount(int nCount)
Not intended for external use.

setKeyListenerCount

public abstract void setKeyListenerCount(int nCount)
Not intended for external use.

setFocusListenerCount

public abstract void setFocusListenerCount(int nCount)
Not intended for external use.

getDocumentNode

public abstract Document getDocumentNode()

TEgetTexString

public abstract java.lang.String TEgetTexString(int node,
                                                int targetNode)

TEgetMmlString

public abstract java.lang.String TEgetMmlString(int node,
                                                int targetNode)

TEgetXmlString

public abstract java.lang.String TEgetXmlString(int node,
                                                int targetNode)

TEprintTeXInput

public abstract java.lang.String TEprintTeXInput(int node,
                                                 int targetNode)

TEprintMMLInput

public abstract java.lang.String TEprintMMLInput(int node,
                                                 int targetNode)

TEconvertTeXtoMML

public abstract java.lang.String TEconvertTeXtoMML(int node,
                                                   int targetNode)

TEconvertMMLtoTeX

public abstract java.lang.String TEconvertMMLtoTeX(int node,
                                                   int targetNode)

TEcreateFromTexString

public abstract int TEcreateFromTexString(int node,
                                          java.lang.String data)

TEcreateFromMmlString

public abstract int TEcreateFromMmlString(int node,
                                          java.lang.String data)

TEcreateFromXmlString

public abstract int TEcreateFromXmlString(int node,
                                          java.lang.String data)

TEscrollToNode

public abstract int TEscrollToNode(int node,
                                   int targetNode)

TEinvalidate

public abstract int TEinvalidate(int node)

TErecomposeAndRedraw

public abstract int TErecomposeAndRedraw(int node)

TErecomposeAndRedrawNode

public abstract int TErecomposeAndRedrawNode(int node,
                                             int targetNode)

DIgetDocumentNode

public abstract int DIgetDocumentNode(int node)

DIhasFeature

public abstract int DIhasFeature(int node,
                                 java.lang.String name,
                                 java.lang.String version)

DOgetDoctype

public abstract int DOgetDoctype(int node)

DOgetImplementation

public abstract int DOgetImplementation(int node)

DOgetDocumentElement

public abstract int DOgetDocumentElement(int node)

DOcreateElement

public abstract int DOcreateElement(int node,
                                    java.lang.String tagName)

DOcreateDocumentFragment

public abstract int DOcreateDocumentFragment(int node)

DOcreateTextNode

public abstract int DOcreateTextNode(int node,
                                     java.lang.String data)

DOcreateComment

public abstract int DOcreateComment(int node,
                                    java.lang.String data)

DOcreateCDATASection

public abstract int DOcreateCDATASection(int node,
                                         java.lang.String data)

DOcreateProcessingInstruction

public abstract int DOcreateProcessingInstruction(int node,
                                                  java.lang.String target,
                                                  java.lang.String data)

DOcreateAttribute

public abstract int DOcreateAttribute(int node,
                                      java.lang.String name)

DOcreateEntityReference

public abstract int DOcreateEntityReference(int node,
                                            java.lang.String name)

DOgetElementsByTagName

public abstract int DOgetElementsByTagName(int node,
                                           java.lang.String tagname)

DTgetName

public abstract java.lang.String DTgetName(int node)

DTgetEntities

public abstract int DTgetEntities(int node)

DTgetNotations

public abstract int DTgetNotations(int node)

ENgetPublicId

public abstract java.lang.String ENgetPublicId(int node)

ENgetSystemId

public abstract java.lang.String ENgetSystemId(int node)

ENgetNotationName

public abstract java.lang.String ENgetNotationName(int node)

NOgetPublicId

public abstract java.lang.String NOgetPublicId(int node)

NOgetSystemId

public abstract java.lang.String NOgetSystemId(int node)

PIgetTarget

public abstract java.lang.String PIgetTarget(int node)

PIgetData

public abstract java.lang.String PIgetData(int node)

PIsetData

public abstract int PIsetData(int node,
                              java.lang.String arg)

NOgetNodeName

public abstract java.lang.String NOgetNodeName(int node)

NOgetNodeValue

public abstract java.lang.String NOgetNodeValue(int node)

NOsetNodeValue

public abstract int NOsetNodeValue(int node,
                                   java.lang.String arg)

NOgetNodeType

public abstract int NOgetNodeType(int node)

NOgetParentNode

public abstract int NOgetParentNode(int node)

NOgetChildNodes

public abstract int NOgetChildNodes(int node)

NOgetFirstChild

public abstract int NOgetFirstChild(int node)

NOgetLastChild

public abstract int NOgetLastChild(int node)

NOgetPreviousSibling

public abstract int NOgetPreviousSibling(int node)

NOgetNextSibling

public abstract int NOgetNextSibling(int node)

NOgetAttributes

public abstract int NOgetAttributes(int node)

NOgetOwnerDocument

public abstract int NOgetOwnerDocument(int node)

NOinsertBefore

public abstract int NOinsertBefore(int node,
                                   int newChild,
                                   int refChild)

NOreplaceChild

public abstract int NOreplaceChild(int node,
                                   int newChild,
                                   int oldChild)

NOremoveChild

public abstract int NOremoveChild(int node,
                                  int oldChild)

NOappendChild

public abstract int NOappendChild(int node,
                                  int newChild)

NOhasChildNodes

public abstract int NOhasChildNodes(int node)

NOcloneNode

public abstract int NOcloneNode(int node,
                                int deep)

ELgetTagName

public abstract java.lang.String ELgetTagName(int node)

ELgetAttribute

public abstract java.lang.String ELgetAttribute(int node,
                                                java.lang.String name)

ELsetAttribute

public abstract int ELsetAttribute(int node,
                                   java.lang.String name,
                                   java.lang.String value)

ELremoveAttribute

public abstract int ELremoveAttribute(int node,
                                      java.lang.String name)

ELgetAttributeNode

public abstract int ELgetAttributeNode(int node,
                                       java.lang.String name)

ELsetAttributeNode

public abstract int ELsetAttributeNode(int node,
                                       int newAttr)

ELremoveAttributeNode

public abstract int ELremoveAttributeNode(int node,
                                          int oldAttr)

ELgetElementsByTagName

public abstract int ELgetElementsByTagName(int node,
                                           java.lang.String name)

ELnormalize

public abstract int ELnormalize(int node)

NLitem

public abstract int NLitem(int nodeList,
                           int index)

NLgetLength

public abstract int NLgetLength(int nodeList)

NNgetNamedItem

public abstract int NNgetNamedItem(int namedNodeMap,
                                   java.lang.String name)

NNsetNamedItem

public abstract int NNsetNamedItem(int namedNodeMap,
                                   int arg)

NNremoveNamedItem

public abstract int NNremoveNamedItem(int namedNodeMap,
                                      java.lang.String name)

NNitem

public abstract int NNitem(int namedNodeMap,
                           int index)

NNgetLength

public abstract int NNgetLength(int namedNodeMap)

ATgetName

public abstract java.lang.String ATgetName(int attribute)

ATgetSpecified

public abstract int ATgetSpecified(int attribute)

ATgetValue

public abstract java.lang.String ATgetValue(int attribute)

ATsetValue

public abstract int ATsetValue(int attribute,
                               java.lang.String value)

CDgetData

public abstract java.lang.String CDgetData(int node)

CDsetData

public abstract int CDsetData(int node,
                              java.lang.String data)

CDgetLength

public abstract int CDgetLength(int node)

CDsubstringData

public abstract java.lang.String CDsubstringData(int node,
                                                 int offset,
                                                 int count)

CDappendData

public abstract int CDappendData(int node,
                                 java.lang.String arg)

CDinsertData

public abstract int CDinsertData(int node,
                                 int offset,
                                 java.lang.String arg)

CDdeleteData

public abstract int CDdeleteData(int node,
                                 int offset,
                                 int count)

CDreplaceData

public abstract int CDreplaceData(int node,
                                  int offset,
                                  int count,
                                  java.lang.String arg)

TXsplitText

public abstract int TXsplitText(int node,
                                int offset)

mouseClicked

public abstract void mouseClicked(java.lang.String sDocumentName,
                                  java.lang.String sListenerClass,
                                  java.lang.String sObjectName,
                                  int nFlags,
                                  int x,
                                  int y,
                                  int nCount,
                                  int nodPathList,
                                  int nodSelectionList)

mouseEntered

public abstract void mouseEntered(java.lang.String sDocumentName,
                                  java.lang.String sListenerClass,
                                  java.lang.String sObjectName,
                                  int nFlags,
                                  int x,
                                  int y,
                                  int nCount,
                                  int nodPathList,
                                  int nodSelectionList)

mouseExited

public abstract void mouseExited(java.lang.String sDocumentName,
                                 java.lang.String sListenerClass,
                                 java.lang.String sObjectName,
                                 int nFlags,
                                 int x,
                                 int y,
                                 int nCount,
                                 int nodPathList,
                                 int nodSelectionList)

mousePressed

public abstract void mousePressed(java.lang.String sDocumentName,
                                  java.lang.String sListenerClass,
                                  java.lang.String sObjectName,
                                  int nFlags,
                                  int x,
                                  int y,
                                  int nCount,
                                  int nodPathList,
                                  int nodSelectionList)

mouseRelease

public abstract void mouseRelease(java.lang.String sDocumentName,
                                  java.lang.String sListenerClass,
                                  java.lang.String sObjectName,
                                  int nFlags,
                                  int x,
                                  int y,
                                  int nCount,
                                  int nodPathList,
                                  int nodSelectionList)

mouseMoved

public abstract void mouseMoved(java.lang.String sDocumentName,
                                java.lang.String sListenerClass,
                                java.lang.String sObjectName,
                                int nFlags,
                                int x,
                                int y,
                                int nCount,
                                int nodPathList,
                                int nodSelectionList)

mouseDragged

public abstract void mouseDragged(java.lang.String sDocumentName,
                                  java.lang.String sListenerClass,
                                  java.lang.String sObjectName,
                                  int nFlags,
                                  int x,
                                  int y,
                                  int nCount,
                                  int nodPathList,
                                  int nodSelectionList)

keyPressed

public abstract void keyPressed(java.lang.String sDocumentName,
                                java.lang.String sListenerClass,
                                java.lang.String sObjectName,
                                int nModifiers,
                                int nKeyCode)

keyReleased

public abstract void keyReleased(java.lang.String sDocumentName,
                                 java.lang.String sListenerClass,
                                 java.lang.String sObjectName,
                                 int nModifiers,
                                 int nKeyCode)

keyTyped

public abstract void keyTyped(java.lang.String sDocumentName,
                              java.lang.String sListenerClass,
                              java.lang.String sObjectName,
                              int nModifiers,
                              int nKeyCode)

focusGained

public abstract void focusGained(java.lang.String sDocumentName,
                                 java.lang.String sListenerClass,
                                 java.lang.String sObjectName)

focusLost

public abstract void focusLost(java.lang.String sDocumentName,
                               java.lang.String sListenerClass,
                               java.lang.String sObjectName)

instanceDelete

public abstract void instanceDelete(java.lang.String sDocumentName,
                                    java.lang.String sListenerClass,
                                    java.lang.String sObjectName)